package com.shop.service.impl;

import com.mybatisflex.spring.service.impl.ServiceImpl;
import com.shop.entity.Product;
import com.shop.entity.ProductTemplate;
import com.shop.mapper.ProductMapper;
import com.shop.service.ProductProxyService;
import org.springframework.stereotype.Service;

@Service
public class ProductProxyServiceImpl extends ServiceImpl<ProductMapper, Product> implements ProductProxyService {

    @Override
    public ProductTemplate getTemplateById(Long templateId) {
        return mapper.getTemplateById(templateId);
    }
}
